package flst.ipiweb.persistance.interfaces;

import java.util.List;

import flst.ipiweb.transverse.Article;
import flst.ipiweb.transverse.IPIWebException;

public interface IArticleDAL {

	public List<Article> getAllArticle() throws IPIWebException;
	public Article getArticleById(int id) throws IPIWebException;
	public Article getArticleActifById(int id) throws IPIWebException;
	public void createArticle(Article art) throws IPIWebException;
	public void UpdateArticle(Article art) throws IPIWebException;
	public void DesativerArticle(int id) throws IPIWebException;
	public int GenerateId() throws IPIWebException;
}
